from datetime import datetime

import SQL

sql = SQL.SQL('remote', 'weather_base', 'root', 'CODEcode-123')


# res = sql.get_weather_by_area('长沙')
# res = sql.get_weather_by_area_and_date('长沙', '20210605')
# today = str(datetime.now())
# print(today[0:10].replace("-", ""))
res = sql.get_city_with_biggest_temp_diff()
print(res)